home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Online / Apache / include / php / main / php_syslog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-09  |  378 b   |  30 lines

  1. #ifndef PHP_SYSLOG_H
  2. #define PHP_SYSLOG_H
  3.  
  4. #ifdef PHP_WIN32
  5. #include "win32/syslog.h"
  6. #else
  7. #include <syslog.h>
  8. #endif
  9.  
  10. /* 
  11.  * The SCO OpenServer 5 Development System (not the UDK)
  12.  * defines syslog to std_syslog.
  13.  */
  14.  
  15. #ifdef syslog
  16.  
  17. #ifdef HAVE_STD_SYSLOG
  18. #define php_syslog std_syslog
  19. #endif
  20.  
  21. #undef syslog
  22.  
  23. #endif
  24.  
  25. #ifndef php_syslog
  26. #define php_syslog syslog
  27. #endif
  28.  
  29. #endif
  30.